package com.java.static01;

public class Student {

    private String name;

    static int heb;

    public static void printheb() {
        System.out.println(heb);
    }

    public void Study() {
        System.out.println(name + "在学习！");
    }

    public void sayhello(String sname) {
        System.out.println(name + "向" + sname + "学习！");
    }

    public static void main(String[] args) {
        Student s1 = new Student();
        s1.name = "哈哈";
        s1.Study();
        s1.sayhello("呵呵");
        System.gc();
    }
}
